lcTIN_Save Home

Writes TIN data into a file.

 BOOL lcTIN_Save (
   HANDLE hTIN,
   LPCWSTR szFileName,
   int Mode,
   BOOL bByBndr,
   BOOL hLcWnd
 );

Parameters
hTIN
  Handle to a TIN object.
szFileName
  Name of output file.
If szFileName is empty string, then "Save File" dialog will be called.
Mode
  0 - all TIN data
1 - only TIN points (see file format)
bByBndr
  If TRUE then the function saves only TIN data within a boundary.
hLcWnd
  Handle to a parent window for the "Save File" dialog. Specify NULL if not used.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Commands LC_CMD_TIN_SAVE, LC_CMD_TIN_BNDSAVE